<template>
  <basic-container>
    <h3 class="avue">支行排名</h3>
    <avue-crud :option="option" :data="data">
      <template slot="menu" slot-scope="{}">
        <router-link :to="{path:'/data/park'}">
          <el-button type="text" size="small">园区列表</el-button>
        </router-link>
      </template>
    </avue-crud>
  </basic-container>
</template>

<script>
export default {
  data() {
    return {
      option: {
        index: true,
        border: true,
        addBtn: false,
        editBtn: false,
        delBtn: false,
        menuWidth: 120,
        menuAlign: 'center',
        align: 'center',
        column: [
          {
            label: '支行名称',
            prop: 'name',
            search: true
          },
          {
            label: '普惠金融指数',
            prop: 'zs'
          },
          {
            label: '企业贡献度',
            prop: 'gxd'
          }
        ]
      },
      data: [
        {
          name: '奎文支行',
          zs: 73,
          gxd: 72
        },
        {
          name: '东关支行',
          zs: 61,
          gxd: 69
        },
        {
          name: '虞河路支行',
          zs: 58,
          gxd: 63
        },
        {
          name: '大圩支行',
          zs: 55,
          gxd: 61
        },
        {
          name: '镇北支行',
          zs: 54,
          gxd: 51
        },
        {
          name: '镇南支行',
          zs: 46,
          gxd: 42
        },
        {
          name: '开元支行',
          zs: 45,
          gxd: 35
        },
        {
          name: '朱里支行',
          zs: 33,
          gxd: 30
        },
        {
          name: '寒亭支行',
          zs: 22,
          gxd: 28
        }
      ]
    }
  }
}
</script>

<style>
</style>
